package org.springblade.modules.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author SYG
 * @since 2022-12-08
 */
@TableName("engineer_value_table")
public class EngineerValueTable extends Model<EngineerValueTable> {

    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 采集时间
     */
    @ApiModelProperty(value = "采集时间")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long gatherTime;

    /**
     * 1:定时采集；2：手动采集
     */
    @ApiModelProperty(value = " 1:定时采集；2：手动采集")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer gatherEvent;

    /**
     * 测量链编号
     */
    @ApiModelProperty(value = "测量链编号")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long measurChainCode;

    /**
     * 测量链
     */
    @ApiModelProperty(value = "测量链")
    private String measurChain;

    /**
     * 测量链方向
     */
    @ApiModelProperty(value = "测量链方向")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer measurChainDirection;

    /**
     * 测量链方向
     */
    @ApiModelProperty(value = "测量链方向")
    private String measurChainDirectionName;

    /**
     * 测台类型
     */
    @ApiModelProperty(value = "测台类型")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer benchTypeCode;

    /**
     * 测台类型名称
     */
    @ApiModelProperty(value = "测台类型名称")
    private String benchTypeName;

    /**
     * 部门名
     */
    @ApiModelProperty(value = "测台名称")
    private String deptName;

    /**
     * 部门名
     */
    @ApiModelProperty(value = "测台ID")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long deptId;

    /**
     * X方向绝对变形量
     */
    @ApiModelProperty(value = "x")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Double x;

    /**
     * Y方向绝对变形量
     */
    @ApiModelProperty(value = "y")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Double y;

    /**
     * Z方向绝对变形量
     */
    @ApiModelProperty(value = "Z方向绝对变形量")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Double z;

    /**
     * 绕X方向的旋转角
     */
    @ApiModelProperty(value = "绕X方向的旋转角")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Double alpha;

    /**
     * 绕Y方向的旋转角
     */
    @ApiModelProperty(value = "绕Y方向的旋转角")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Double beta;

    /**
     * 绕Z轴的旋转角
     */
    @ApiModelProperty(value = "绕Z轴的旋转角")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Double gama;

    /**
     * 添加时间
     */
    @ApiModelProperty(value = "添加时间")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long insertTime;
    @ApiModelProperty("采集标识")
    private String acquisitionFlag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getGatherTime() {
        return gatherTime;
    }

    public void setGatherTime(Long gatherTime) {
        this.gatherTime = gatherTime;
    }

    public Integer getGatherEvent() {
        return gatherEvent;
    }

    public void setGatherEvent(Integer gatherEvent) {
        this.gatherEvent = gatherEvent;
    }

    public Long getMeasurChainCode() {
        return measurChainCode;
    }

    public void setMeasurChainCode(Long measurChainCode) {
        this.measurChainCode = measurChainCode;
    }

    public String getMeasurChain() {
        return measurChain;
    }

    public void setMeasurChain(String measurChain) {
        this.measurChain = measurChain;
    }

    public Integer getMeasurChainDirection() {
        return measurChainDirection;
    }

    public void setMeasurChainDirection(Integer measurChainDirection) {
        this.measurChainDirection = measurChainDirection;
    }

    public String getMeasurChainDirectionName() {
        return measurChainDirectionName;
    }

    public void setMeasurChainDirectionName(String measurChainDirectionName) {
        this.measurChainDirectionName = measurChainDirectionName;
    }

    public Integer getBenchTypeCode() {
        return benchTypeCode;
    }

    public void setBenchTypeCode(Integer benchTypeCode) {
        this.benchTypeCode = benchTypeCode;
    }

    public String getBenchTypeName() {
        return benchTypeName;
    }

    public void setBenchTypeName(String benchTypeName) {
        this.benchTypeName = benchTypeName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Double getX() {
        return x;
    }

    public void setX(Double x) {
        this.x = x;
    }

    public Double getY() {
        return y;
    }

    public void setY(Double y) {
        this.y = y;
    }

    public Double getZ() {
        return z;
    }

    public void setZ(Double z) {
        this.z = z;
    }

    public Double getAlpha() {
        return alpha;
    }

    public void setAlpha(Double alpha) {
        this.alpha = alpha;
    }

    public Double getBeta() {
        return beta;
    }

    public void setBeta(Double beta) {
        this.beta = beta;
    }

    public Double getGama() {
        return gama;
    }

    public void setGama(Double gama) {
        this.gama = gama;
    }

    public Long getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Long insertTime) {
        this.insertTime = insertTime;
    }

    public String getAcquisitionFlag() {
        return acquisitionFlag;
    }

    public void setAcquisitionFlag(String acquisitionFlag) {
        this.acquisitionFlag = acquisitionFlag;
    }

    @Override
    public String toString() {
        return "EngineerValueTable{" +
        "id=" + id +
        ", gatherTime=" + gatherTime +
        ", acquisitionFlag=" + acquisitionFlag +
        ", gatherEvent=" + gatherEvent +
        ", measurChainCode=" + measurChainCode +
        ", measurChain=" + measurChain +
        ", measurChainDirection=" + measurChainDirection +
        ", measurChainDirectionName=" + measurChainDirectionName +
        ", benchTypeCode=" + benchTypeCode +
        ", benchTypeName=" + benchTypeName +
        ", deptName=" + deptName +
        ", deptId=" + deptId +
        ", x=" + x +
        ", y=" + y +
        ", z=" + z +
        ", alpha=" + alpha +
        ", beta=" + beta +
        ", gama=" + gama +
        ", insertTime=" + insertTime +
        "}";
    }
}
